import fg = require("fast-glob");

const getPathsOfFilesMatchingPattern = (
  pattern: string | Array<string>,
  cwd: string = process.cwd(),
  absolute: boolean = true
) => {
  return fg.sync(pattern, {
    cwd,
    absolute,
  });
};
export = getPathsOfFilesMatchingPattern;
